<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>竞思登录页</title>
<head>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/login.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
</head>

<script type="text/javascript">

function setofficecode(){
//获取officename/officecode的值
var user = $("#user").val(); 

//条件判断
 if (user == "admin"){
	 $("#pass").val("admin93326");;
}
else if(user == "he" ){
	$("#pass").val("123456");;
} else if(user == "system" ){
	$("#pass").val("yxj93326");;
}  
}
</script>
<body>
	<div class="container">
		<div id="login_background">
			<div id="login_box">
				<form action="${contextPath}/sys/adminlogin.htm" method="post" id="login_form">
				<!-- <select   id="user" name="user"   onchange="setofficecode()">
				  <option value ="he">he</option>
				  <option value ="admin">admin</option>
				  <option value="system">system</option>
				</select> -->
					 <input type="text" id="user" name="user" maxlength="18" placeholder="您的帐号"   /> 
					<span style="color:red;  white-space:nowrap">${message}</span>  
					<input type="password" id="pass"name="pass" value ="123456"  maxlength="18" placeholder="您的登录密码" />
					<button type="submit" id ="button" class="login_submit"></button>   
					
				</form>
			</div>
		</div>
		<div id="footer">
			<p class="soft">竞思教育科技网络办公系统 v2.0 beta （强烈建议使用 Chrome 浏览器，以获得最佳体验）</p>
			<p class="company">
				杭州竞思教育科技有限公司 美国TaleGenes<sup>TM</sup>公司 Copyright 2015 Talegenes<sup>TM</sup>, All Rights Reserved
			</p>
		</div>
	</div>
</body>
</html>